.chat-wrapper{
  .chat-bottom{
    min-height: 40px;
    max-height: 150px;
    padding: 5px;
    padding-bottom: 0;
    background-color: rgba(240, 242, 245, 0.5);
    border-top: 1px solid #eee;
    .iconfont{
      font-size: 20px;
      margin: 0 5px;
    }
    .am-textarea-control{
      padding: 5px 0;
    }
    .am-list-item{
      min-height: 20px;
    }
  }
  .icon-back-left{
    padding: 10px;
    padding-left: 0;
  }
  .text-wrapper{
    background: #eee;
    overflow-y: auto;
  }
}
.content-scroll{
  overflow-y: auto;
}
.chat_history{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5px 10px;
  span{
    display: block;
  }
  .header{
    background-color: #1890ff;
    color: #fff;
    height: 35px;
    width: 35px;
    min-width: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
  }
  .text{
    background: #fff;
    color: #333;
    margin-left: 20px;
    position: relative;
    padding: 6px;
    line-height: 24px;
    border-radius: 5px;
    &::before{
      content: ' ';
      display: inline-block;
      border: 8px transparent solid;
      border-right-color: #fff;
      position: absolute;
      left: -16px;
      top: 9px;
    }
  }
  &.self{
    flex-direction: row-reverse;
    .text{
      margin-right: 20px;
      margin-left: 0;
      background: rgba(30,144,255, 0.3);
      &::before{
        right: -16px;
        left: auto;
        border-right-color: transparent;
        border-left-color: rgba(30,144,255, 0.3);
      }
    }
  }
}
